inherited FrmOrderPreOther: TFrmOrderPreOther
  Caption = #20854#23427#39044#32422#21333
  ClientHeight = 458
  ClientWidth = 1179
  ExplicitLeft = -113
  ExplicitWidth = 1195
  ExplicitHeight = 497
  PixelsPerInch = 96
  TextHeight = 17
  inherited cxGroupBox6: TcxGroupBox
    Style.IsFontAssigned = True
    ExplicitWidth = 1179
    ExplicitHeight = 126
    Height = 126
    Width = 1179
    object Label1: TLabel [0]
      Left = 7
      Top = 8
      Width = 72
      Height = 17
      Caption = #39044#32422#36215#22987#26102#38388
    end
    object Label2: TLabel [1]
      Left = 245
      Top = 8
      Width = 72
      Height = 17
      Caption = #39044#32422#25130#27490#26102#38388
    end
    object Label3: TLabel [2]
      Left = 7
      Top = 33
      Width = 72
      Height = 17
      Caption = #23492#20214#25163#26426#21495#30721
    end
    object Label4: TLabel [3]
      Left = 490
      Top = 8
      Width = 24
      Height = 17
      Caption = #29366#24577
    end
    object Label5: TLabel [4]
      Left = 245
      Top = 33
      Width = 48
      Height = 17
      Caption = #23492#20214#23458#25143
    end
    object Label6: TLabel [5]
      Left = 490
      Top = 35
      Width = 36
      Height = 17
      Caption = #23492#20214#20154
    end
    object Label7: TLabel [6]
      Left = 7
      Top = 58
      Width = 72
      Height = 17
      Caption = #25910#20214#25163#26426#21495#30721
    end
    object Label8: TLabel [7]
      Left = 245
      Top = 58
      Width = 48
      Height = 17
      Caption = #25910#20214#23458#25143
    end
    object Label9: TLabel [8]
      Left = 490
      Top = 58
      Width = 36
      Height = 17
      Caption = #25910#20214#20154
    end
    object Label10: TLabel [9]
      Left = 649
      Top = 8
      Width = 36
      Height = 17
      Caption = #21462#20214#21592
    end
    object Label11: TLabel [10]
      Left = 649
      Top = 33
      Width = 48
      Height = 17
      Caption = #23492#20214#22320#22336
    end
    object shaComplete: TShape [11]
      Left = 704
      Top = 61
      Width = 20
      Height = 14
      Brush.Color = 11206570
    end
    object Label12: TLabel [12]
      Left = 727
      Top = 61
      Width = 27
      Height = 14
      Caption = #24050#23436#25104
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -9
      Font.Name = #24494#36719#38597#40657
      Font.Style = []
      ParentFont = False
    end
    object shaCancel: TShape [13]
      Left = 770
      Top = 61
      Width = 20
      Height = 14
      Brush.Color = 14079702
    end
    object Label13: TLabel [14]
      Left = 795
      Top = 61
      Width = 27
      Height = 14
      Caption = #24050#21462#28040
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -9
      Font.Name = #24494#36719#38597#40657
      Font.Style = []
      ParentFont = False
    end
    object ShapUnAppoint: TShape [15]
      Left = 838
      Top = 61
      Width = 20
      Height = 14
      Brush.Color = 54741
    end
    object Label14: TLabel [16]
      Left = 863
      Top = 61
      Width = 27
      Height = 14
      Caption = #26410#25351#27966
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -9
      Font.Name = #24494#36719#38597#40657
      Font.Style = []
      ParentFont = False
    end
    object shapRefuse: TShape [17]
      Left = 906
      Top = 61
      Width = 20
      Height = 14
      Brush.Color = 16759295
    end
    object Label16: TLabel [18]
      Left = 928
      Top = 60
      Width = 18
      Height = 14
      Caption = #25298#32477
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -9
      Font.Name = #24494#36719#38597#40657
      Font.Style = []
      ParentFont = False
    end
    inherited cxButton15: TcxButton
      Left = 262
      Top = 85
      ExplicitLeft = 262
      ExplicitTop = 85
    end
    inherited cxButton14: TcxButton
      Left = 445
      Top = 85
      ExplicitLeft = 445
      ExplicitTop = 85
    end
    inherited cxButton13: TcxButton
      Left = 1064
      Top = 85
      Visible = False
      ExplicitLeft = 1064
      ExplicitTop = 85
    end
    inherited cxButton12: TcxButton
      Left = 890
      Top = 85
      Width = 81
      Action = nil
      Caption = 'xxx'
      OptionsImage.ImageIndex = 5
      Visible = False
      Font.Color = 16765348
      OnClick = nil
      ExplicitLeft = 890
      ExplicitTop = 85
      ExplicitWidth = 81
    end
    inherited cxButton11: TcxButton
      Left = 80
      Top = 85
      ExplicitLeft = 80
      ExplicitTop = 85
    end
    inherited cxButton1: TcxButton
      Left = 977
      Top = 85
      Width = 81
      Action = actOutPut
      Caption = #26597#35810
      OptionsImage.ImageIndex = 152
      ExplicitLeft = 977
      ExplicitTop = 85
      ExplicitWidth = 81
    end
    object edtstartTime: TcxDateEdit
      Left = 82
      Top = 5
      Properties.Kind = ckDateTime
      TabOrder = 6
      Width = 149
    end
    object edtEndTime: TcxDateEdit
      Left = 322
      Top = 5
      Properties.Kind = ckDateTime
      TabOrder = 7
      Width = 149
    end
    object cmbStatus: TcxImageComboBox
      Left = 531
      Top = 5
      RepositoryItem = FrmConsole.EditRepOrderPreStatus
      EditValue = -1
      Properties.DefaultImageIndex = 0
      Properties.Items = <>
      TabOrder = 8
      Width = 108
    end
    object edtSendTel: TcxTextEdit
      Left = 82
      Top = 30
      TabOrder = 9
      Width = 149
    end
    object edtSendName: TcxTextEdit
      Left = 322
      Top = 30
      TabOrder = 10
      Width = 149
    end
    object edtSendCont: TcxTextEdit
      Left = 531
      Top = 30
      TabOrder = 11
      Width = 108
    end
    object edtDestTel: TcxTextEdit
      Left = 82
      Top = 55
      TabOrder = 12
      Width = 149
    end
    object edtDestName: TcxTextEdit
      Left = 322
      Top = 55
      TabOrder = 13
      Width = 149
    end
    object edtDestCont: TcxTextEdit
      Left = 531
      Top = 55
      TabOrder = 14
      Width = 108
    end
    object edtEmpTel: TcxTextEdit
      Left = 704
      Top = 5
      TabOrder = 15
      TextHint = #32534#21495'/'#25163#26426'/'#21517#31216
      Width = 116
    end
    object cmbProvince: TcxComboBox
      Left = 704
      Top = 30
      Properties.DropDownListStyle = lsFixedList
      Properties.OnChange = cmbProvincePropertiesChange
      TabOrder = 16
      Width = 78
    end
    object cmbCity: TcxComboBox
      Left = 782
      Top = 30
      Properties.DropDownListStyle = lsFixedList
      Properties.OnChange = cmbCityPropertiesChange
      TabOrder = 17
      Width = 72
    end
    object cmbDistrict: TcxComboBox
      Left = 854
      Top = 30
      Properties.DropDownListStyle = lsFixedList
      TabOrder = 18
      Width = 75
    end
    object edtAddress: TcxTextEdit
      Left = 929
      Top = 30
      TabOrder = 19
      Width = 150
    end
    object cxButton2: TcxButton
      Left = 1084
      Top = 19
      Width = 81
      Height = 36
      Action = actSearch
      TabOrder = 20
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #24494#36719#38597#40657
      Font.Style = []
      ParentFont = False
    end
    object cxButton3: TcxButton
      Left = 171
      Top = 85
      Width = 85
      Height = 36
      Action = actEdit
      TabOrder = 21
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #24494#36719#38597#40657
      Font.Style = []
      ParentFont = False
    end
    object cxButton4: TcxButton
      Left = 353
      Top = 85
      Width = 85
      Height = 36
      Action = actAppoint
      TabOrder = 22
    end
    object cxButton5: TcxButton
      Left = 669
      Top = 85
      Width = 85
      Height = 36
      Action = actAppointHis
      TabOrder = 23
    end
    object cxButton6: TcxButton
      Left = 760
      Top = 85
      Width = 85
      Height = 36
      Action = actOutPut
      TabOrder = 24
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #24494#36719#38597#40657
      Font.Style = []
      ParentFont = False
    end
    object cxButton7: TcxButton
      Left = 536
      Top = 85
      Width = 127
      Height = 36
      Action = actBatchAppoint
      TabOrder = 25
    end
  end
  inherited gbSN: TcxGroupBox
    Top = 126
    Style.IsFontAssigned = True
    ExplicitTop = 126
    ExplicitWidth = 1179
    ExplicitHeight = 4
    Height = 4
    Width = 1179
  end
  inherited GrdBasic: TcxGrid
    Top = 130
    Width = 1179
    Height = 328
    ExplicitTop = 130
    ExplicitWidth = 1179
    ExplicitHeight = 328
    inherited tvBasic: TcxGridDBTableView
      PopupMenu = pmExport
      OnDblClick = tvBasicDblClick
      OnCustomDrawCell = tvBasicCustomDrawCell
      OnEditDblClick = tvBasicEditDblClick
      DataController.DataSource = dsPre
      OptionsData.Editing = True
      OptionsSelection.CellSelect = True
      object tvBasicORDER_NO: TcxGridDBColumn
        DataBinding.FieldName = 'ORDER_NO'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 132
      end
      object tvBasicCREATE_DT: TcxGridDBColumn
        DataBinding.FieldName = 'CREATE_DT'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 151
      end
      object tvBasicSEND_NAME: TcxGridDBColumn
        Caption = #23492#20214#21333#20301
        DataBinding.FieldName = 'SEND_NAME'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 154
      end
      object tvBasicSEND_CONT: TcxGridDBColumn
        DataBinding.FieldName = 'SEND_CONT'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 99
      end
      object tvBasicSEND_TEL: TcxGridDBColumn
        DataBinding.FieldName = 'SEND_TEL'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 135
      end
      object tvBasicSEND_ADDRESS: TcxGridDBColumn
        DataBinding.FieldName = 'SEND_ADDRESS'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 232
      end
      object tvBasicRESERVE_FETCH_TIME: TcxGridDBColumn
        DataBinding.FieldName = 'RESERVE_FETCH_TIME'
        HeaderAlignmentHorz = taCenter
        Width = 128
      end
      object tvBasicDEST_NAME: TcxGridDBColumn
        Caption = #25910#20214#21333#20301
        DataBinding.FieldName = 'DEST_NAME'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 118
      end
      object tvBasicDEST_CONT: TcxGridDBColumn
        DataBinding.FieldName = 'DEST_CONT'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 106
      end
      object tvBasicDEST_TEL: TcxGridDBColumn
        DataBinding.FieldName = 'DEST_TEL'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 124
      end
      object tvBasicDEST_ADDRESS: TcxGridDBColumn
        DataBinding.FieldName = 'DEST_ADDRESS'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 159
      end
      object tvBasicWEIGHT: TcxGridDBColumn
        DataBinding.FieldName = 'WEIGHT'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 79
      end
      object tvBasicVOLUME: TcxGridDBColumn
        DataBinding.FieldName = 'VOLUME'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 117
      end
      object tvBasicCARGO: TcxGridDBColumn
        DataBinding.FieldName = 'CARGO'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 191
      end
      object tvBasicFETCH_NODE: TcxGridDBColumn
        Caption = #23492#20214#32593#28857
        DataBinding.FieldName = 'FETCH_NODE'
        HeaderAlignmentHorz = taCenter
        Width = 72
      end
      object tvBasicFETCH_EMPNO: TcxGridDBColumn
        DataBinding.FieldName = 'FETCH_EMPNO'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 89
      end
      object tvBasicFETCH_EMPNAME: TcxGridDBColumn
        DataBinding.FieldName = 'FETCH_EMPNAME'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 97
      end
      object tvBasicFETCH_EMPTEL: TcxGridDBColumn
        DataBinding.FieldName = 'FETCH_EMPTEL'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 116
      end
      object tvBasicAPPOINT_TIME: TcxGridDBColumn
        DataBinding.FieldName = 'APPOINT_TIME'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 149
      end
      object tvBasicACCEPT_TIME: TcxGridDBColumn
        DataBinding.FieldName = 'ACCEPT_TIME'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 116
      end
      object tvBasicREFUSAL_TAG: TcxGridDBColumn
        DataBinding.FieldName = 'REFUSAL_TAG'
        RepositoryItem = FrmConsole.EditRepRefusalTag
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 59
      end
      object tvBasicREFUSAL_REASON: TcxGridDBColumn
        DataBinding.FieldName = 'REFUSAL_REASON'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 105
      end
      object tvBasicSTATUS: TcxGridDBColumn
        DataBinding.FieldName = 'STATUS'
        RepositoryItem = FrmConsole.EditRepOrderPreStatus
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 70
      end
      object tvBasicUPDATE_DT: TcxGridDBColumn
        DataBinding.FieldName = 'UPDATE_DT'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 144
      end
      object tvBasicNODE_NO: TcxGridDBColumn
        Caption = #30446#30340#32593#28857#32534#21495
        DataBinding.FieldName = 'NODE_NO'
        HeaderAlignmentHorz = taCenter
        Width = 89
      end
      object tvBasicNODE_NAME: TcxGridDBColumn
        Caption = #32593#28857#21517#31216
        DataBinding.FieldName = 'NODE_NAME'
        HeaderAlignmentHorz = taCenter
        Width = 65
      end
      object tvBasicCUST_SRV_NO: TcxGridDBColumn
        Caption = #23458#26381#32534#21495
        DataBinding.FieldName = 'CUST_SRV_NO'
        HeaderAlignmentHorz = taCenter
        Width = 109
      end
      object tvBasicCUST_SRV_NAME: TcxGridDBColumn
        Caption = #23458#26381#21517#31216
        DataBinding.FieldName = 'CUST_SRV_NAME'
        HeaderAlignmentHorz = taCenter
        Width = 109
      end
    end
  end
  inherited ActionList: TActionList
    inherited actEdit: TAction
      OnExecute = actEditExecute
    end
    inherited actCancel: TAction
      Caption = #25298#32477
      OnExecute = actCancelExecute
    end
    inherited actDelete: TAction
      OnExecute = actDeleteExecute
    end
    inherited actRefresh: TAction
      Caption = #26597#35810
      ImageIndex = 152
      OnExecute = nil
    end
    object actSearch: TAction
      Caption = #26597#35810
      ImageIndex = 152
      OnExecute = actSearchExecute
    end
    object actAppoint: TAction
      Caption = #25351#27966
      ImageIndex = 5
      OnExecute = actAppointExecute
    end
    object actAppointHis: TAction
      Caption = #25351#27966#35760#24405
      ImageIndex = 209
      OnExecute = actAppointHisExecute
    end
    object actOutPut: TAction
      Caption = #23548#20986
      ImageIndex = 183
      OnExecute = actOutPutExecute
    end
    object actBatchAppoint: TAction
      Caption = #25209#37327#25351#27966'('#25250#21333')'
      ImageIndex = 205
      OnExecute = actBatchAppointExecute
    end
  end
  object crsPre: TClientRowSet
    Aggregates = <>
    BeforePost = crsPreBeforePost
    BeforeDelete = crsPreBeforeDelete
    OnCalcFields = crsPreCalcFields
    OnNewRecord = crsPreNewRecord
    AppServer = Dm.AppServer
    TableName = 'TSP_ORDER_PRE  '
    Left = 248
    Top = 184
    object crsPreID: TStringField
      Tag = 1
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Size = 50
    end
    object crsPreSYS_ACCOUNT: TStringField
      FieldName = 'SYS_ACCOUNT'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreGROUP_CODE: TStringField
      FieldName = 'GROUP_CODE'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreORDER_NO: TStringField
      DisplayLabel = #39044#32422#21333#21495
      FieldName = 'ORDER_NO'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreSEND_NAME: TStringField
      DisplayLabel = #23492#20214#23458#25143
      FieldName = 'SEND_NAME'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreSEND_TEL: TStringField
      DisplayLabel = #23492#20214#30005#35805
      FieldName = 'SEND_TEL'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreSEND_CONT: TStringField
      DisplayLabel = #23492#20214#20154
      FieldName = 'SEND_CONT'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreSEND_PROVINCE: TStringField
      DisplayLabel = #23492#20214#22320#22336'('#30465')'
      FieldName = 'SEND_PROVINCE'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreSEND_CITY: TStringField
      DisplayLabel = #23492#20214#22320#22336'('#24066')'
      FieldName = 'SEND_CITY'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreSEND_DISTRICT: TStringField
      DisplayLabel = #23492#20214#22320#22336'('#21306')'
      FieldName = 'SEND_DISTRICT'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreSEND_ADDR: TStringField
      DisplayLabel = #23492#20214#35814#32454#22320#22336
      FieldName = 'SEND_ADDR'
      ProviderFlags = [pfInUpdate]
      Size = 200
    end
    object crsPreDEST_NAME: TStringField
      DisplayLabel = #25910#20214#23458#25143
      FieldName = 'DEST_NAME'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreDEST_PROVINCE: TStringField
      DisplayLabel = #25910#20214#22320#22336'('#30465')'
      FieldName = 'DEST_PROVINCE'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreDEST_CITY: TStringField
      DisplayLabel = #25910#20214#22320#22336'('#24066')'
      FieldName = 'DEST_CITY'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreDEST_DISTRICT: TStringField
      DisplayLabel = #25910#20214#22320#22336'('#21306')'
      FieldName = 'DEST_DISTRICT'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreDEST_ADDR: TStringField
      DisplayLabel = #25910#20214#35814#32454#22320#22336
      FieldName = 'DEST_ADDR'
      ProviderFlags = [pfInUpdate]
      Size = 200
    end
    object crsPreDEST_CONT: TStringField
      DisplayLabel = #25910#20214#20154
      FieldName = 'DEST_CONT'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreDEST_TEL: TStringField
      DisplayLabel = #25910#20214#30005#35805
      FieldName = 'DEST_TEL'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreNODE_NO: TStringField
      FieldName = 'NODE_NO'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreNODE_NAME: TStringField
      FieldName = 'NODE_NAME'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreWEIGHT: TFloatField
      DisplayLabel = #37325#37327
      FieldName = 'WEIGHT'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreVOLUME: TStringField
      DisplayLabel = #20307#31215
      FieldName = 'VOLUME'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreCARGO: TStringField
      DisplayLabel = #29289#21697
      FieldName = 'CARGO'
      ProviderFlags = [pfInUpdate]
      Size = 200
    end
    object crsPreFETCH_EMPNO: TStringField
      DisplayLabel = #21462#20214#21592#32534#21495
      FieldName = 'FETCH_EMPNO'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreFETCH_EMPNAME: TStringField
      DisplayLabel = #21462#20214#21592#21517#31216
      FieldName = 'FETCH_EMPNAME'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreFETCH_EMPTEL: TStringField
      DisplayLabel = #21462#20214#21592#30005#35805
      FieldName = 'FETCH_EMPTEL'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreAPPOINT_TIME: TStringField
      DisplayLabel = #25351#27966#26102#38388
      FieldName = 'APPOINT_TIME'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreACCEPT_TIME: TStringField
      DisplayLabel = #19978#38376#21462#36135#26102#38388
      FieldName = 'ACCEPT_TIME'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreBILL_ID: TStringField
      FieldName = 'BILL_ID'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreCON_ID: TStringField
      FieldName = 'CON_ID'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreREFUSAL_REASON: TStringField
      DisplayLabel = #25298#32477#21407#22240
      FieldName = 'REFUSAL_REASON'
      ProviderFlags = [pfInUpdate]
      Size = 200
    end
    object crsPreVERSION: TIntegerField
      FieldName = 'VERSION'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreSTATUS: TSmallintField
      DisplayLabel = #29366#24577
      FieldName = 'STATUS'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreDISABLED: TSmallintField
      FieldName = 'DISABLED'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreREMARK: TStringField
      FieldName = 'REMARK'
      ProviderFlags = [pfInUpdate]
      Size = 500
    end
    object crsPreCREATE_DT: TStringField
      DisplayLabel = #21019#24314#26102#38388
      FieldName = 'CREATE_DT'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreUPDATE_DT: TStringField
      DisplayLabel = #26356#26032#26102#38388
      FieldName = 'UPDATE_DT'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreCUST_SRV_NO: TStringField
      FieldKind = fkCalculated
      FieldName = 'CUST_SRV_NO'
      KeyFields = 'ID'
      ProviderFlags = [pfInUpdate]
      Calculated = True
    end
    object crsPreCUST_SRV_NAME: TStringField
      FieldKind = fkCalculated
      FieldName = 'CUST_SRV_NAME'
      KeyFields = 'ID'
      ProviderFlags = [pfInUpdate]
      Calculated = True
    end
    object crsPreREFUSAL_TAG: TSmallintField
      DisplayLabel = #25298#32477#20154
      FieldName = 'REFUSAL_TAG'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreORIGIN_TAG: TSmallintField
      FieldName = 'ORIGIN_TAG'
      ProviderFlags = [pfInUpdate]
    end
    object crsPreRESERVE_FETCH_TIME: TStringField
      DisplayLabel = #39044#32422#21462#20214#26102#38388
      FieldName = 'RESERVE_FETCH_TIME'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreSEND_ADDRESS: TStringField
      DisplayLabel = #23492#20214#22320#22336
      FieldKind = fkCalculated
      FieldName = 'SEND_ADDRESS'
      ProviderFlags = [pfInUpdate]
      Size = 200
      Calculated = True
    end
    object crsPreDEST_ADDRESS: TStringField
      DisplayLabel = #25910#20214#22320#22336
      FieldKind = fkCalculated
      FieldName = 'DEST_ADDRESS'
      ProviderFlags = [pfInUpdate]
      Size = 200
      Calculated = True
    end
    object crsPreLAST_APPOINT_ID: TStringField
      FieldName = 'LAST_APPOINT_ID'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
    object crsPreFETCH_NODE: TStringField
      FieldName = 'FETCH_NODE'
      ProviderFlags = [pfInUpdate]
      Size = 50
    end
  end
  object dsPre: TDataSource
    DataSet = crsPre
    Left = 312
    Top = 184
  end
  object pmExport: TPopupMenu
    AutoHotkeys = maManual
    Left = 904
    Top = 312
    object MenuItem1: TMenuItem
      Caption = #23548#20986
      OnClick = MenuItem1Click
    end
  end
  object svdlg: TSaveDialog
    DefaultExt = '*.xls'
    Filter = 'xls|*.xls|xlsx|*.xlsx|text|.txt|html|*.htm|xml|*.xml'
    Left = 393
    Top = 165
  end
  object crsProvince: TClientRowSet
    Aggregates = <>
    Left = 544
    Top = 176
  end
  object crsCity: TClientRowSet
    Aggregates = <>
    Left = 616
    Top = 176
  end
  object crsDistrict: TClientRowSet
    Aggregates = <>
    Left = 688
    Top = 176
  end
  object IdHTTP1: TIdHTTP
    AllowCookies = True
    ProxyParams.BasicAuthentication = False
    ProxyParams.ProxyPort = 0
    Request.ContentLength = -1
    Request.ContentRangeEnd = -1
    Request.ContentRangeStart = -1
    Request.ContentRangeInstanceLength = -1
    Request.Accept = 'text/html, */*'
    Request.BasicAuthentication = False
    Request.UserAgent = 'Mozilla/3.0 (compatible; Indy Library)'
    Request.Ranges.Units = 'bytes'
    Request.Ranges = <>
    HTTPOptions = [hoForceEncodeParams]
    Left = 472
    Top = 184
  end
  object crsTemp: TClientRowSet
    Aggregates = <>
    CommandText = 
      'select * from (select a.*,row_number() over(partition by ORDER_P' +
      'RE_ID order by CREATE_DT desc) cn from TSP_ORDER_PRE_APPOINT a )' +
      ' where cn=1 '
    AppServer = Dm.AppServer
    Left = 256
    Top = 280
    object crsTempID: TStringField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Size = 50
    end
    object crsTempORDER_PRE_ID: TStringField
      FieldName = 'ORDER_PRE_ID'
      Size = 50
    end
    object crsTempCUST_SRV_NO: TStringField
      FieldName = 'CUST_SRV_NO'
    end
    object crsTempCUST_SRV_NAME: TStringField
      FieldName = 'CUST_SRV_NAME'
    end
  end
end
